package com.chuanke.ckfamily.dao.finance.model;

import com.weijie.core.extend.FiledName;
import com.weijie.core.extend.TableName;
import com.weijie.core.model.BaseModel;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 用户资金表
 *
 */
@TableName("cf_user_bill")
public class Bill extends BaseModel implements Serializable {

	// 用户主键
	private Long uid;
	@FiledName("uid")
	public Long getUid(){
		return this.uid;
	}
	public void setUid(Long uid){
		 this.uid = uid;
	}

	// 收入金额
	private Long money;
	@FiledName("money")
	public Long getMoney(){
		return this.money;
	}
	public void setMoney(Long money){
		 this.money = money;
	}

	// 收入类型（1、）
	private Integer optype;
	@FiledName("optype")
	public Integer getOptype(){
		return this.optype;
	}
	public void setOptype(Integer optype){
		 this.optype = optype;
	}

	// 创建时间
	private Timestamp create_time;
	@FiledName("create_time")
	public Timestamp getCreate_time(){
		return this.create_time;
	}
	public void setCreate_time(Timestamp create_time){
		 this.create_time = create_time;
	}

	// 是否上传到传客服务器 0为false， 1为true, 2为上传失败
	private Integer flag;
	@FiledName("flag")
	public Integer getFlag(){
		return this.flag;
	}
	public void setFlag(Integer flag){
		 this.flag = flag;
	}

	private Timestamp update_time;
	@FiledName("update_time")
	public Timestamp getUpdate_time() {
		return update_time;
	}
	public void setUpdate_time(Timestamp update_time) {
		this.update_time = update_time;
	}

	//粉丝金额
	private Long fans_id;
	@FiledName("fans_id")
	public Long getFans_id() {
		return fans_id;
	}
	public void setFans_id(Long fans_id) {
		this.fans_id = fans_id;
	}

	// 备注
	private String fnote;
	@FiledName("fnote")
	public String getFnote(){
		return this.fnote;
	}
	public void setFnote(String fnote){
		 this.fnote = fnote;
	}
}